home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / bash_114.zip / bash-1.14.2 / config.h.mini < prev    next >
Text File  |  1994-03-15  |  6KB  |  178 lines

  1. /* config.h -- Configuration file for bash. */
  2.  
  3. /* This is a `minimal' configuration file.  It will create a shell without:
  4.     job control
  5.     aliases
  6.     pushd and popd
  7.     readline
  8.     history
  9.     restricted shell mode
  10.     `disabled' builtins (builtin xxx finds xxx even after enable -n xxx)
  11.     process substitution
  12.     prompt string decoding (though variable expansion is still done)
  13.     the `select' command */
  14.     
  15. /* Copyright (C) 1987,1991 Free Software Foundation, Inc.
  16.  
  17.    This file is part of GNU Bash, the Bourne Again SHell.
  18.  
  19.    Bash is free software; you can redistribute it and/or modify it
  20.    under the terms of the GNU General Public License as published by
  21.    the Free Software Foundation; either version 1, or (at your option)
  22.    any later version.
  23.  
  24.    Bash is distributed in the hope that it will be useful, but WITHOUT
  25.    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  26.    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
  27.    License for more details.
  28.  
  29.    You should have received a copy of the GNU General Public License
  30.    along with Bash; see the file COPYING.  If not, write to the Free
  31.    Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
  32.  
  33. #if !defined (_CONFIG_H_)
  34. #define _CONFIG_H_
  35.  
  36. #include "memalloc.h"
  37.  
  38. #if defined (HPUX) || defined (UNIXPC) || defined (Xenix)
  39. #  if !defined (USG)
  40. #    define USG
  41. #  endif
  42. #endif
  43.  
  44. #if defined (HAVE_UNISTD_H) && !defined (BUILDING_MAKEFILE)
  45. #include <unistd.h>
  46. #endif
  47.  
  48. /* Define JOB_CONTROL if your operating system supports
  49.    BSD-like job control. */
  50. /* #define JOB_CONTROL */
  51.  
  52. /* Note that vanilla System V machines don't support BSD job control,
  53.    although some do support Posix job control. */
  54. #if defined (USG) && !defined (_POSIX_JOB_CONTROL)
  55. #  undef JOB_CONTROL
  56. #endif /* USG && !_POSIX_JOB_CONTROL */
  57.  
  58. /* Define ALIAS if you want the alias features. */
  59. /* #define ALIAS */
  60.  
  61. /* Define PUSHD_AND_POPD if you want those commands to be compiled in.
  62.    (Also the `dirs' commands.) */
  63. /* #define PUSHD_AND_POPD */
  64.  
  65. /* Define BRACE_EXPANSION if you want curly brace expansion a la Csh:
  66.    foo{a,b} -> fooa foob.  Even if this is compiled in (the default) you
  67.    can turn it off at shell startup with `-nobraceexpansion', or during
  68.    shell execution with `set +o braceexpand'. */
  69. /* #define BRACE_EXPANSION */
  70.  
  71. /* Define READLINE to get the nifty/glitzy editing features.
  72.    This is on by default.  You can turn it off interactively
  73.    with the -nolineediting flag. */
  74. /* #define READLINE */
  75.  
  76. /* Define BANG_HISTORY if you want to have Csh style "!" history expansion.
  77.    This is unrelated to READLINE. */
  78. /* #define BANG_HISTORY */
  79.  
  80. /* Define HISTORY if you want to have access to previously typed commands.
  81.  
  82.    If both HISTORY and READLINE are defined, you can get at the commands
  83.    with line editing commands, and you can directly manipulate the history
  84.    from the command line.
  85.  
  86.    If only HISTORY is defined, the `fc' and `history' builtins are
  87.    available. */
  88. /* #define HISTORY */
  89.  
  90. #if defined (BANG_HISTORY) && !defined (HISTORY)
  91.    /* BANG_HISTORY requires HISTORY. */
  92. #  define HISTORY
  93. #endif /* BANG_HISTORY && !HISTORY */
  94.  
  95. /* The default value of the PATH variable. */
  96. #define DEFAULT_PATH_VALUE \
  97.   ":/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin:/etc:/usr/etc"
  98.  
  99. /* The value for PATH when invoking `command -p'.  This is only used when
  100.    the Posix.2 confstr () function, or CS_PATH define are not present. */
  101. #define STANDARD_UTILS_PATH \
  102.   "/bin:/usr/bin:/usr/ucb:/usr/sbin:/etc:/usr/etc"
  103.  
  104. /* Define V9_ECHO if you want to give the echo builtin backslash-escape
  105.    interpretation using the -e option, in the style of the Bell Labs 9th
  106.    Edition version of echo. */
  107. #define V9_ECHO
  108.  
  109. /* Define DEFAULT_ECHO_TO_USG if you want the echo builtin to interpret
  110.    the backslash-escape characters by default, like the System V echo.
  111.    This requires that V9_ECHO be defined. */
  112. /* #define DEFAULT_ECHO_TO_USG */
  113. #if !defined (V9_ECHO)
  114. #  undef DEFAULT_ECHO_TO_USG
  115. #endif
  116.  
  117. /* Define CONTINUE_AFTER_KILL_ERROR if you want the kill command to
  118.    continue processing arguments after one of them fails. */
  119. #define CONTINUE_AFTER_KILL_ERROR
  120.  
  121. /* Define BREAK_COMPLAINS if you want the non-standard, but useful
  122.    error messages about `break' and `continue' out of context. */
  123. #define BREAK_COMPLAINS
  124.  
  125. /* Define GETOPTS_BUILTIN if you want the Posix.2 `getopts' shell builtin
  126.    compiled into the shell. */
  127. #define GETOPTS_BUILTIN
  128.  
  129. /* When ALLOW_RIGID_POSIX_COMPLIANCE is defined, you can turn on strictly
  130.    Posix compliant behaviour by setting the environment variable
  131.    POSIXLY_CORRECT. */
  132. #define ALLOW_RIGID_POSIX_COMPLIANCE
  133.  
  134. /* Define RESTRICTED_SHELL if you want the generated shell to have the
  135.    ability to be a restricted one.  The shell thus generated can become
  136.    restricted by being run with the name "rbash", or by setting the -r
  137.    flag. */
  138. /* #define RESTRICTED_SHELL */
  139.  
  140. /* Define DISABLED_BUILTINS if you want "builtin foo" to always run the
  141.    shell builtin "foo", even if it has been disabled with "enable -n foo". */
  142. /* #define DISABLED_BUILTINS */
  143.  
  144. /* Define PROCESS_SUBSTITUTION if you want the K*rn shell-like process
  145.    substitution features "<(file)". */
  146. /* Right now, you cannot do this on machines without fully operational
  147.    FIFO support.  This currently include NeXT and Alliant. */
  148. #if !defined (MKFIFO_MISSING)
  149. #  define PROCESS_SUBSTITUTION
  150. #endif /* !MKFIFO_MISSING */
  151.  
  152. /* Define PROMPT_STRING_DECODE if you want the backslash-escaped special
  153.    characters in PS1 and PS2 expanded.  Variable expansion will still be
  154.    performed. */
  155. /* #define PROMPT_STRING_DECODE */
  156.  
  157. /* Define BUFFERED_INPUT if you want the shell to do its own input
  158.    buffering. */
  159. #define BUFFERED_INPUT
  160.  
  161. /* Define INTERACTIVE_COMMENTS if you want # comments to work by default
  162.    when the shell is interactive, as Posix.2a specifies. */
  163. #define INTERACTIVE_COMMENTS
  164.  
  165. /* Define ONESHOT if you want sh -c 'command' to avoid forking to execute
  166.    `command' whenever possible. */
  167. #define ONESHOT
  168.  
  169. /* Default primary and secondary prompt strings. */
  170. #define PPROMPT "bash\\$ "
  171. #define SPROMPT "> "
  172.  
  173. /* Define SELECT_COMMAND if you want the Korn-shell style `select' command:
  174.     select word in word_list; do command_list; done */
  175. /* #define SELECT_COMMAND */
  176.  
  177. #endif    /* !_CONFIG_H_ */
  178.